//
//  graphic.h
//  opengl_test
//
//  Created by 岳伸 富田 on 11/10/26.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#ifndef opengl_test_graphic_h
#define opengl_test_graphic_h

#include "common.h"

namespace Graphic {
class Core
{
public:
  Core();
  virtual ~Core();
  
  virtual void Init();
  virtual void Destroy();
  virtual void Update(float elapsedTime);
  virtual void Render(unsigned int frame);
  
  void Reshape(int width, int height);
  
  const VMA::Matrix4& GetViewMatrix();
  const VMA::Matrix4& GetProjMatrix();
  
private:
  class Impl;
  Impl* m_pImpl;
};
} // namespace Graphic
#endif
